package me.jessyan.mvparms.demo.data.entity;

import java.util.List;

/**
 * @Author: 海洋
 * @Date: 2018/8/23
 * @Desc:
 */
public class MessageInfoEntity {


    /**
     * id : a
     * title : a
     * posttime : a
     * code : a
     * content : a
     * attachments : [{"name":"a","url":"a"},{"name":"a","url":"a"}]
     */

    private String id;
    private String title;
    private String posttime;
    private String code;
    private String content;
    private List<AttachmentsBean> attachments;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPosttime() {
        return posttime;
    }

    public void setPosttime(String posttime) {
        this.posttime = posttime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<AttachmentsBean> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentsBean> attachments) {
        this.attachments = attachments;
    }

    public static class AttachmentsBean {
        /**
         * name : a
         * url : a
         */

        private String name;
        private String url;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
